import { registerAs } from '@nestjs/config';

/** MQTT连接配置 */
export const MqttConfigRegister = registerAs('mqtt', () => ({
  url: process.env.MQTT_URL,
  port: parseInt(process.env.MQTT_PORT)
}));
